package com.samoiloff.util.lang {
	import com.samoiloff.util.data.PropItem;
	/**
	 * @author samoilof
	 */
	public class XMLLangItem extends PropItem{
	
		
		public function XMLLangItem()  {
			
		}
		
		public function update(xml : XML) : void {
			var children:XMLList = xml.elements();
			for each (var childXML:XML in children) {
				if (!childXML.hasComplexContent() && String(childXML.@ids).length == 0) {
					setValueByProp(childXML.name(), childXML.text());
				}
			}
		}

	}
}
